home *** CD-ROM | disk | FTP | other *** search
/ Designer's Club 1997 January / Designer's Club 1997 January.iso / pc / ideasrc / ace.dir / 00003_Script_3 < prev    next >
Text File  |  1996-12-12  |  2KB  |  80 lines

  1. on exitFrame
  2.   go the frame
  3.   tools
  4.   set the castnum of sprite 2 to 6
  5.   if rollover (7) then 
  6.     go frame "center"
  7.     Set the locH of sprite 2 to the locH of sprite 1
  8.     Set the locV of sprite 2 to the locV of sprite 1
  9.     updatestage
  10.     if the mousedown then 
  11.       if sprite 2 intersects 3 then 
  12.         sound playFile 1, "gotem.aif"
  13.         puppetsprite 2, true
  14.         set the castnum of sprite 2 to 31
  15.         updatestage
  16.         go frame "center2"
  17.         exit
  18.       else
  19.         sound playFile 1, "guns.aif"
  20.       end if
  21.     end if
  22.   end if
  23.   
  24.   if rollover (8) then
  25.     go frame "right"
  26.     repeat while rollover (8)
  27.       if the mousedown then sound playFile 1, "guns.aif"   
  28.       set the locH of sprite 1 to ( the locH of sprite 1 - 10)
  29.       if the locH of sprite 1 < 5 then
  30.         set the locH of sprite 1 to 5
  31.       end if
  32.       set the locH of sprite 2 to the locH of sprite 1
  33.       set the locV of sprite 2 to the locV of sprite 1
  34.       updatestage
  35.     end repeat
  36.   end if
  37.   
  38.   if rollover (9) then 
  39.     go frame "left"
  40.     repeat while rollover (9) 
  41.       if the mousedown then sound playFile 1, "guns.aif"
  42.       set the locH of sprite 1 to ( the locH of sprite 1 + 10)
  43.       if the locH of sprite 1 > 600 then
  44.         set the locH of sprite 1 to 600
  45.       end if
  46.       set the locH of sprite 2 to the locH of sprite 1
  47.       set the locV of sprite 2 to the locV of sprite 1
  48.       updatestage
  49.     end repeat
  50.   end if
  51.   
  52.   if rollover (10) then 
  53.     go frame "up"
  54.     repeat while rollover (10)
  55.       if the mousedown then sound playFile 1, "guns.aif"
  56.       set the locV of sprite 1 to ( the locV of sprite 1 + 10)
  57.       if the locV of sprite 1 > 630 then
  58.         set the locV of sprite 1 to 630
  59.       end if
  60.       set the locH of sprite 2 to the locH of sprite 1
  61.       set the locV of sprite 2 to the locV of sprite 1
  62.       updatestage
  63.     end repeat
  64.   end if
  65.   
  66.   if rollover (11) then 
  67.     go frame "down"
  68.     repeat while rollover (11)
  69.       if the mousedown then sound playFile 1, "guns.aif"      
  70.       set the locV of sprite 1 to ( the locV of sprite 1 - 10)
  71.       if the locV of sprite 1 < -230 then
  72.         set the locV of sprite 1 to -230
  73.       end if
  74.       set the locH of sprite 2 to the locH of sprite 1
  75.       set the locV of sprite 2 to the locV of sprite 1
  76.       updatestage
  77.     end repeat
  78.   end if
  79. end
  80.